import request from '@/utils/request';

const travelApi = {
    queryTravelItem: '/web/query/travel/item', // 查询旅游项目
    updateTravelItem: '/web/update/travel/item', // 添加、修改、删除旅游项目
    queryTravelItemInfo: '/web/query/travel/item/info', // 查询旅游项目详情
    updateTravelItemInfo: '/web/update/travel/item/info', // 添加、修改、删除旅游项目详情
    queryTravelItemPlan: '/web/query/travel/item/plan', // 查询旅游项目套餐
    updateTravelItemPlan: '/web/update/travel/item/plan', // 添加、修改、删除旅游项目套餐
    queryTravelItemDate: '/web/query/travel/item/date', // 查询旅游项目套餐日期
    updateTravelItemDate: '/web/update/travel/item/date', // 添加、修改、删除旅游项目套餐日期
    queryTravelCity: '/web/query/travel/city', // 查询旅游城市
    updateTravelCity: '/web/update/travel/city', // 添加、修改、删除旅游城市
    queryTravelVehicleClassify: '/web/query/travel/vehicle/classification', // 查询车型分类
    updateTravelVehicleClassify: '/web/update/travel/vehicle/classification', // 添加、修改、删除车型分类
    queryTravelVehicleMake: '/web/query/travel/vehicle/make', // 查询车辆品牌
    updateTravelVehicleMake: '/web/update/travel/vehicle/make', // 添加、修改、删除车辆品牌
    queryTravelVehicleParamTitle: '/web/query/travel/vehicle/param/title', // 查询车辆参数标题
    updateTravelVehicleParamTitle: '/web/update/travel/vehicle/param/title', // 添加、修改、删除车辆参数标题
    queryTravelVehicleParamContent: '/web/query/travel/vehicle/param/content', // 查询车辆参数内容
    updateTravelVehicleParamContent: '/web/update/travel/vehicle/param/content', // 添加、修改、删除车辆参数内容
    queryTravelVehicleInfo: '/web/query/travel/vehicle/info', // 查询车辆信息
    updateTravelVehicleInfo: '/web/update/travel/vehicle/info', // 添加、修改、删除车辆信息
    queryTravelVehiclePicture: '/web/query/travel/vehicle/picture', // 查询车辆图片
    updateTravelVehiclePicture: '/web/update/travel/vehicle/picture', // 添加、修改、删除车辆图片
    queryTravelVehicleDetails: '/web/query/travel/vehicle/details', // 查询车辆详情
    updateTravelVehicleDetails: '/web/update/travel/vehicle/details', // 添加、修改、删除车辆详情
    queryTravelVehicleParamConfig: '/web/query/travel/vehicle/param/config', // 查询车辆参数配置
    updateTravelVehicleParamConfig: '/web/update/travel/vehicle/param/config', // 添加、修改、删除车辆参数配置
    queryTravelVehicleStore: '/web/query/travel/vehicle/store', // 查询租车门店
    updateTravelVehicleStore: '/web/update/travel/vehicle/store', // 添加、修改、删除租车门店
    queryTravelVehicleStoreConfig: '/web/query/travel/vehicle/store/config', // 查询租车门店配置
    updateTravelVehicleStoreConfig: '/web/update/travel/vehicle/store/config', // 添加、修改、删除租车门店配置
    queryTravelVehicleSafeguard: '/web/query/travel/vehicle/safeguard', // 查询租车商家保障
    updateTravelVehicleSafeguard: '/web/update/travel/vehicle/safeguard', // 添加、修改、删除租车商家保障
    queryTravelVehicleSafeguardConfig: '/web/query/travel/vehicle/safeguard/config', // 查询租车商家保障配置
    updateTravelVehicleSafeguardConfig: '/web/update/travel/vehicle/safeguard/config', // 添加、修改、删除租车商家保障配置
}

// 查询旅游项目
export function queryTravelItem (parameter) {
    return request({
        url: travelApi.queryTravelItem,
        method: 'post',
        headers: {
            'name':'queryTravelItem',
        },
        data: parameter
    })
}
// 添加、修改、删除旅游项目
export function updateTravelItem (parameter) {
    return request({
        url: travelApi.updateTravelItem,
        method: 'post',
        headers: {
            'name':'updateTravelItem',
        },
        data: parameter
    })
}

// 查询旅游项目详情
export function queryTravelItemInfo (parameter) {
    return request({
        url: travelApi.queryTravelItemInfo,
        method: 'post',
        headers: {
            'name':'queryTravelItemInfo',
        },
        data: parameter
    })
}
// 添加、修改、删除旅游项目详情
export function updateTravelItemInfo (parameter) {
    return request({
        url: travelApi.updateTravelItemInfo,
        method: 'post',
        headers: {
            'name':'updateTravelItemInfo',
        },
        data: parameter
    })
}

// 查询旅游项目套餐
export function queryTravelItemPlan (parameter) {
    return request({
        url: travelApi.queryTravelItemPlan,
        method: 'post',
        headers: {
            'name':'queryTravelItemPlan',
        },
        data: parameter
    })
}
// 添加、修改、删除旅游项目套餐
export function updateTravelItemPlan (parameter) {
    return request({
        url: travelApi.updateTravelItemPlan,
        method: 'post',
        headers: {
            'name':'updateTravelItemPlan',
        },
        data: parameter
    })
}

// 查询旅游项目套餐日期
export function queryTravelItemDate (parameter) {
    return request({
        url: travelApi.queryTravelItemDate,
        method: 'post',
        headers: {
            'name':'queryTravelItemDate',
        },
        data: parameter
    })
}
// 添加、修改、删除旅游项目套餐日期
export function updateTravelItemDate (parameter) {
    return request({
        url: travelApi.updateTravelItemDate,
        method: 'post',
        headers: {
            'name':'updateTravelItemDate',
        },
        data: parameter
    })
}

// 查询旅游城市配置
export function queryTravelCity (parameter) {
    return request({
        url: travelApi.queryTravelCity,
        method: 'post',
        headers: {
            'name':'queryTravelCity',
        },
        data: parameter
    })
}
// 添加、修改、删除旅游城市配置
export function updateTravelCity (parameter) {
    return request({
        url: travelApi.updateTravelCity,
        method: 'post',
        headers: {
            'name':'updateTravelCity',
        },
        data: parameter
    })
}

// 查询车型分类
export function queryTravelVehicleClassify (parameter) {
    return request({
        url: travelApi.queryTravelVehicleClassify,
        method: 'post',
        headers: {
            'name':'queryTravelVehicleClassify',
        },
        data: parameter
    })
}
// 添加、修改、删除车型分类
export function updateTravelVehicleClassify (parameter) {
    return request({
        url: travelApi.updateTravelVehicleClassify,
        method: 'post',
        headers: {
            'name':'updateTravelVehicleClassify',
        },
        data: parameter
    })
}

// 查询车辆品牌
export function queryTravelVehicleMake (parameter) {
    return request({
        url: travelApi.queryTravelVehicleMake,
        method: 'post',
        headers: {
            'name':'queryTravelVehicleMake',
        },
        data: parameter
    })
}
// 添加、修改、删除车辆品牌
export function updateTravelVehicleMake (parameter) {
    return request({
        url: travelApi.updateTravelVehicleMake,
        method: 'post',
        headers: {
            'name':'updateTravelVehicleMake',
        },
        data: parameter
    })
}

// 查询车辆参数标题
export function queryTravelVehicleParamTitle (parameter) {
    return request({
        url: travelApi.queryTravelVehicleParamTitle,
        method: 'post',
        headers: {
            'name':'queryTravelVehicleParamTitle',
        },
        data: parameter
    })
}
// 添加、修改、删除车辆参数标题
export function updateTravelVehicleParamTitle (parameter) {
    return request({
        url: travelApi.updateTravelVehicleParamTitle,
        method: 'post',
        headers: {
            'name':'updateTravelVehicleParamTitle',
        },
        data: parameter
    })
}

// 查询车辆参数内容
export function queryTravelVehicleParamContent (parameter) {
    return request({
        url: travelApi.queryTravelVehicleParamContent,
        method: 'post',
        headers: {
            'name':'queryTravelVehicleParamContent',
        },
        data: parameter
    })
}
// 添加、修改、删除车辆参数内容
export function updateTravelVehicleParamContent (parameter) {
    return request({
        url: travelApi.updateTravelVehicleParamContent,
        method: 'post',
        headers: {
            'name':'updateTravelVehicleParamContent',
        },
        data: parameter
    })
}

// 查询车辆信息
export function queryTravelVehicleInfo (parameter) {
    return request({
        url: travelApi.queryTravelVehicleInfo,
        method: 'post',
        headers: {
            'name':'queryTravelVehicleInfo',
        },
        data: parameter
    })
}
// 添加、修改、删除车辆信息
export function updateTravelVehicleInfo (parameter) {
    return request({
        url: travelApi.updateTravelVehicleInfo,
        method: 'post',
        headers: {
            'name':'updateTravelVehicleInfo',
        },
        data: parameter
    })
}

// 查询车辆图片
export function queryTravelVehiclePicture (parameter) {
    return request({
        url: travelApi.queryTravelVehiclePicture,
        method: 'post',
        headers: {
            'name':'queryTravelVehiclePicture',
        },
        data: parameter
    })
}
// 添加、修改、删除车辆图片
export function updateTravelVehiclePicture (parameter) {
    return request({
        url: travelApi.updateTravelVehiclePicture,
        method: 'post',
        headers: {
            'name':'updateTravelVehiclePicture',
        },
        data: parameter
    })
}

// 查询车辆详情
export function queryTravelVehicleDetails (parameter) {
    return request({
        url: travelApi.queryTravelVehicleDetails,
        method: 'post',
        headers: {
            'name':'queryTravelVehicleDetails',
        },
        data: parameter
    })
}
// 添加、修改、删除车辆详情
export function updateTravelVehicleDetails (parameter) {
    return request({
        url: travelApi.updateTravelVehicleDetails,
        method: 'post',
        headers: {
            'name':'updateTravelVehicleDetails',
        },
        data: parameter
    })
}

// 查询车辆参数配置
export function queryTravelVehicleParamConfig (parameter) {
    return request({
        url: travelApi.queryTravelVehicleParamConfig,
        method: 'post',
        headers: {
            'name':'queryTravelVehicleParamConfig',
        },
        data: parameter
    })
}
// 添加、修改、删除车辆参数配置
export function updateTravelVehicleParamConfig (parameter) {
    return request({
        url: travelApi.updateTravelVehicleParamConfig,
        method: 'post',
        headers: {
            'name':'updateTravelVehicleParamConfig',
        },
        data: parameter
    })
}

// 查询租车门店
export function queryTravelVehicleStore (parameter) {
    return request({
        url: travelApi.queryTravelVehicleStore,
        method: 'post',
        headers: {
            'name':'queryTravelVehicleStore',
        },
        data: parameter
    })
}
// 添加、修改、删除租车门店
export function updateTravelVehicleStore (parameter) {
    return request({
        url: travelApi.updateTravelVehicleStore,
        method: 'post',
        headers: {
            'name':'updateTravelVehicleStore',
        },
        data: parameter
    })
}

// 查询租车门店配置
export function queryTravelVehicleStoreConfig (parameter) {
    return request({
        url: travelApi.queryTravelVehicleStoreConfig,
        method: 'post',
        headers: {
            'name':'queryTravelVehicleStoreConfig',
        },
        data: parameter
    })
}
// 添加、修改、删除租车门店配置
export function updateTravelVehicleStoreConfig (parameter) {
    return request({
        url: travelApi.updateTravelVehicleStoreConfig,
        method: 'post',
        headers: {
            'name':'updateTravelVehicleStoreConfig',
        },
        data: parameter
    })
}

// 查询租车商家保障
export function queryTravelVehicleSafeguard (parameter) {
    return request({
        url: travelApi.queryTravelVehicleSafeguard,
        method: 'post',
        headers: {
            'name':'queryTravelVehicleSafeguard',
        },
        data: parameter
    })
}
// 添加、修改、删除租车商家保障
export function updateTravelVehicleSafeguard (parameter) {
    return request({
        url: travelApi.updateTravelVehicleSafeguard,
        method: 'post',
        headers: {
            'name':'updateTravelVehicleSafeguard',
        },
        data: parameter
    })
}

// 查询租车商家保障配置
export function queryTravelVehicleSafeguardConfig (parameter) {
    return request({
        url: travelApi.queryTravelVehicleSafeguardConfig,
        method: 'post',
        headers: {
            'name':'queryTravelVehicleSafeguardConfig',
        },
        data: parameter
    })
}
// 添加、修改、删除租车商家保障配置
export function updateTravelVehicleSafeguardConfig (parameter) {
    return request({
        url: travelApi.updateTravelVehicleSafeguardConfig,
        method: 'post',
        headers: {
            'name':'updateTravelVehicleSafeguardConfig',
        },
        data: parameter
    })
}